	/* 
	功能：将星期N 转换为 数值 如：星期一 或 周一 转换为 1

	传参：星期X 或 周X

	返回：1 2 3 4 5 6 7
	*/

	function weekTonumber(week) {

		if(week == '星期一' || week == '周一'){
			return 1
		}else if(week == '星期二' || week == '周二'){
			return 2
		}else if(week == '星期三' || week == '周三'){
			return 3
		}else if(week == '星期四' || week == '周四'){
			return 4
		}else if(week == '星期五' || week == '周五'){
			return 5
		}else if(week == '星期六' || week == '周六'){
			return 6
		}else if(week == '星期日' || week == '周日' ||  week == '周七'){
			return 7
		}
		
		
		return tomorrow_day.getFullYear()+"-" + month + "-" + tomorrow_dd;
}

	module.exports={
		weekTonumber
		}

	/**
		 * 其他页面引用此函数：
		 * 1， 页面.js 引入此函数：
		 * 		//获取明天的日期 yyyy-mm-dd
		 * 	  var getTomorrow = require("../../../../utils/CustomFunction/weekTonumber.js")
		 * 
		 * 2. 获取此函数的返回值：
		 *    const weekNumber = weekTonumber.weekTonumber()
		 * 		或
		 * 		this.setData({
		 * 		today:getTomorrow.getTomorrow()
		 * 		})
		 *
		 */